package com.chenyongjing.design.pattern.state.order;

import java.util.Map;

/**
 * @Author chen
 * @Date 2022/11/20 22:37
 */
public interface IOrderService {
    Order create();

    Order pay(int id);
    Order deliver(int id);
    Order receive(int id);
    public Map<Integer,Order> getOrders();

}
